package com.sc.nft.entity.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.math.BigDecimal;
import java.util.List;

/**
 * @author Radish
 * @Description:
 * @date 2024-11-26
 */
@Data
public class EcologyHatchExtraRewardsMethodConfDTO {


    @ApiModelProperty("奖励方式id 编辑时传")
    private Long id;

    @ApiModelProperty("奖励概率（权重）")
    private BigDecimal probability;

    /**
     * 奖励配置
     */
    @ApiModelProperty("奖励配置")
    //@Size(min = 1, message = "奖励配置不能为空")
    private List<@Valid EcologyHatchExtraRewardsConfigSaveDTO> ecologyHatchExtraRewardsConfigSaveDTOS;
}
